package com.qph.base.mail;

import java.io.Serializable;

public class MailConfig implements Serializable {

	private static final long serialVersionUID = 1L;
	private String hostName;//mail.smtp.host
	private String userName;
	private String password;
	private String sendFrom;
	private boolean needAuth;
	private String onOff;
	private int smtpPort;
	private int factoryPort;
	
	
	public String getHostName() {
		return hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public boolean isNeedAuth() {
		return needAuth;
	}
	public void setNeedAuth(boolean needAuth) {
		this.needAuth = needAuth;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setSendFrom(String sendFrom) {
		this.sendFrom = sendFrom;
	}
	public String getSendFrom() {
		return sendFrom;
	}
	public String getOnOff() {
		return onOff;
	}
	public void setOnOff(String onOff) {
		this.onOff = onOff;
	}
	public int getSmtpPort() {
		return smtpPort;
	}
	public void setSmtpPort(int smtpPort) {
		this.smtpPort = smtpPort;
	}
	public int getFactoryPort() {
		return factoryPort;
	}
	public void setFactoryPort(int factoryPort) {
		this.factoryPort = factoryPort;
	}
	
}
